Fix some g-i annotation warnings
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 6 Apr 2018 14:20:48 +0000 (16:20 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 6 Apr 2018 14:26:17 +0000 (16:26 +0200)
gdk/gdkpaintable.c
gtk/gtkgesturestylus.c
gtk/gtksearchbar.c
gtk/gtksearchentry.c
gtk/gtkwidgetpaintable.c

index 8405d2ad065fa2fd2eeb644e2602affba7ca8210..efb4ea2ac37f03740dd3f22d811c0dea5d33670a 100644 (file)
@@ -625,7 +625,7 @@ gdk_empty_paintable_init (GdkEmptyPaintable *self)
  * virtual function when the paintable is in an incomplete state (like a
  * #GtkMediaStream before receiving the first frame).
  *
- * Returns: (transfer full) a #GdkPaintable
+ * Returns: (transfer full): a #GdkPaintable
  **/
 GdkPaintable *
 gdk_paintable_new_empty (int intrinsic_width,
index 6ba3bf14a3b8cc07bc38108f506e7a56ae55dda8..162f02d273e389744758a451debf6777566e039a 100644 (file)
@@ -246,7 +246,7 @@ gtk_gesture_stylus_get_axes (GtkGestureStylus  *gesture,
 /**
  * gtk_gesture_stylus_get_backlog:
  * @gesture: a #GtkGestureStylus
- * @backlog: (out): coordinates and times for the backlog events
+ * @backlog: (out) (array length=n_elems): coordinates and times for the backlog events
  * @n_elems: (out): return location for the number of elements
  *
  * By default, GTK+ will limit rate of input events. On stylus input where
index dfe6b8447cd7726749918a09a664c2cf8732aae4..87c105826aaea50eb1d5acfe8832ec99465ec126 100644 (file)
@@ -755,7 +755,7 @@ gtk_search_bar_set_key_capture_widget (GtkSearchBar *bar,
  *
  * Gets the widget that @bar is capturing key events from.
  *
- * Returns: The key capture widget.
+ * Returns: (transfer none): The key capture widget.
  *
  * Since: 3.94
  **/
index 7501ef78bd280b8a592c11eeb4be688c39c5456d..cce039c644d7aad04e05cf270b4211e3151323ff 100644 (file)
@@ -479,7 +479,7 @@ capture_widget_key_handled (GtkEventControllerKey *controller,
 
 /**
  * gtk_search_entry_set_key_capture_widget:
- * @bar: a #GtkSearchEntry
+ * @entry: a #GtkSearchEntry
  * @widget: (nullable) (transfer none): a #GtkWidget
  *
  * Sets @widget as the widget that @entry will capture key events from.
@@ -532,7 +532,7 @@ gtk_search_entry_set_key_capture_widget (GtkSearchEntry *entry,
  *
  * Gets the widget that @entry is capturing key events from.
  *
- * Returns: The key capture widget.
+ * Returns: (transfer none): The key capture widget.
  *
  * Since: 3.94
  **/
index 4ed58a04652ce76be0ad497874a4bfd1a98d594c..81512cb437820b12d2c58b1e87fca3841a0cd9b8 100644 (file)
@@ -268,7 +268,7 @@ gtk_widget_paintable_init (GtkWidgetPaintable *self)
  *
  * Creates a new widget paintable observing the given widget.
  *
- * Returns: a new #GtkWidgetPaintable
+ * Returns: (transfer full) (type GtkWidgetPaintable): a new #GtkWidgetPaintable
  **/
 GdkPaintable *
 gtk_widget_paintable_new (GtkWidget *widget)